package com.tiancheng.trade.authserver.vo;

import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

@Getter
@Setter
@Accessors(chain = true)
public class UserSignUpRequestVO {
    private String name;
    private String email;
    private String phone;
    private String code;
    private String password;

    /**
     * 注册类型
     * @see com.tiancheng.trade.authserver.enums.SignUpTypeEnum
     */
    @NotBlank(message = "注册类型不能为空,1-app端手机号注册;2-web端用户名注册")
    private Integer signUpType;
}
